import request from '@/utils/request.js'

export function getPlaceList(data){
	return request({
		url:'/record/place/my/list',
		method:'get',
		data:data
	})
}

export function addPlace(data){
	return request({
		url:'/record/place',
		method:'post',
		data:data
	})
}

export function deletePlace(data){
	return request({
		url:'/record/place/'+data,
		method:'delete'
	})
}

export function getPlace(data){
	return request({
		url:'/record/place/'+data,
		method:'get'
	})
}